<template>
	<view class="main">
		<view class='nav'>
			<view class="left">
				<up-image src="https://cdn.uviewui.com/uview/album/1.jpg" shape="circle" height='40' width='40'></up-image>
			</view>
			<view class="title">
				<slot name='title'>
					默认
				</slot>
			</view>
			<view class='right'>
				<slot name='right'>
					组件
				</slot>
			</view>
		</view>
	</view>
</template>

<script setup>

</script>

<style scoped lang="scss">
	.main{
		width: 100%;
		height: 50px;
		background-color: white;
	}
	.nav{
		width: 100%;
		height: 100%;
		display: flex;
		align-items: center;
		justify-content: space-between;
		padding: 0 10px;
		box-sizing: border-box;
	}
	.left{
		height: 100%;
		display: flex;
		align-items: center;
	}
	.title{
		// font-size: 18px;
		font-weight: bold;
	}
</style>